StdRgn
GrafVerb gVerb ; frame, paint, erase, invert, or fill
PolyHandle theRgn ; handle leading to a Region to draw
This is Quickdraw's default low-level routine for drawing regions. The
region is framed, painted, erased, inverted, or filled, depending upon the
grafVerb.
gVerb is a GrafVerb enumerated-integer data type specifying the operation
to perform; it must be one of:
frame 0 draw the outline using current pen parameters
paint 1 fill with thePort->pnPat
erase 2 fill with thePort->bkPat
invert 3 toggle all bits enclosed by the object
fill 4 fill with thePort->fillPat
theRgn is a handle leading to a variable-length Region structure, expressed in local coordinates, which defines the area enclosed by the region.
See FrameRgn for illustrations and related information.
Notes: Use StdRgn only if your application intercepts the Quickdraw bottleneck All grafVerbs are performed using values taken from the current grafPort.
Output is clipped to portBits.bounds, portRect, visRgn, and clipRgn. This function does not affect the pen position.
If a region is currently open and being formed (see OpenRgn), and gVerb=frame, the region's interior is added to the open region's structure.
the output into its definition.